//
// Created on 2024/10/15.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "ohos_local_stream.h"

namespace ohosrtc {

OHOSLocalStream::OHOSLocalStream(rtc::scoped_refptr<ohoswebrtc::OHOSMediaStreamInterface> media_stream) {
  media_stream_ = media_stream;
}

rtc::scoped_refptr<ohoswebrtc::OHOSMediaStreamInterface> OHOSLocalStream::MediaStream() { return media_stream_; }

} // namespace ohosrtc
